# -*- coding: utf-8 -*-
from api.base_api.login_base_api import LoginBaseApi


class ModifyPassword(LoginBaseApi):
    modify_password_url = "http://192.168.1.141:8001/modify-password"

    def modify_password(self, oldPassword, password):
        # 登录
        payload = {
            "oldPassword": oldPassword,
            "password": password
        }

        return payload
